/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package nodeLevelMetaModel.util;

import nodeLevelMetaModel.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see nodeLevelMetaModel.NodeLevelMetaModelPackage
 * @generated
 */
public class NodeLevelMetaModelAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static NodeLevelMetaModelPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public NodeLevelMetaModelAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = NodeLevelMetaModelPackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected NodeLevelMetaModelSwitch<Adapter> modelSwitch =
		new NodeLevelMetaModelSwitch<Adapter>() {
			@Override
			public Adapter caseNode(Node object) {
				return createNodeAdapter();
			}
			@Override
			public Adapter caseRole(Role object) {
				return createRoleAdapter();
			}
			@Override
			public Adapter caseLeaderRole(LeaderRole object) {
				return createLeaderRoleAdapter();
			}
			@Override
			public Adapter caseBaseStationRole(BaseStationRole object) {
				return createBaseStationRoleAdapter();
			}
			@Override
			public Adapter caseMemberRole(MemberRole object) {
				return createMemberRoleAdapter();
			}
			@Override
			public Adapter caseOperationalTask(OperationalTask object) {
				return createOperationalTaskAdapter();
			}
			@Override
			public Adapter caseReceivingTask(ReceivingTask object) {
				return createReceivingTaskAdapter();
			}
			@Override
			public Adapter caseSendingTask(SendingTask object) {
				return createSendingTaskAdapter();
			}
			@Override
			public Adapter caseSamplingTask(SamplingTask object) {
				return createSamplingTaskAdapter();
			}
			@Override
			public Adapter caseAggregationTask(AggregationTask object) {
				return createAggregationTaskAdapter();
			}
			@Override
			public Adapter caseFusionTask(FusionTask object) {
				return createFusionTaskAdapter();
			}
			@Override
			public Adapter caseSpatialAggregationTask(SpatialAggregationTask object) {
				return createSpatialAggregationTaskAdapter();
			}
			@Override
			public Adapter caseTemporalAggregationTask(TemporalAggregationTask object) {
				return createTemporalAggregationTaskAdapter();
			}
			@Override
			public Adapter defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	@Override
	public Adapter createAdapter(Notifier target) {
		return modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.Node <em>Node</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.Node
	 * @generated
	 */
	public Adapter createNodeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.Role <em>Role</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.Role
	 * @generated
	 */
	public Adapter createRoleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.LeaderRole <em>Leader Role</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.LeaderRole
	 * @generated
	 */
	public Adapter createLeaderRoleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.BaseStationRole <em>Base Station Role</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.BaseStationRole
	 * @generated
	 */
	public Adapter createBaseStationRoleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.MemberRole <em>Member Role</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.MemberRole
	 * @generated
	 */
	public Adapter createMemberRoleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.OperationalTask <em>Operational Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.OperationalTask
	 * @generated
	 */
	public Adapter createOperationalTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.ReceivingTask <em>Receiving Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.ReceivingTask
	 * @generated
	 */
	public Adapter createReceivingTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.SendingTask <em>Sending Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.SendingTask
	 * @generated
	 */
	public Adapter createSendingTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.SamplingTask <em>Sampling Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.SamplingTask
	 * @generated
	 */
	public Adapter createSamplingTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.AggregationTask <em>Aggregation Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.AggregationTask
	 * @generated
	 */
	public Adapter createAggregationTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.FusionTask <em>Fusion Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.FusionTask
	 * @generated
	 */
	public Adapter createFusionTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.SpatialAggregationTask <em>Spatial Aggregation Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.SpatialAggregationTask
	 * @generated
	 */
	public Adapter createSpatialAggregationTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link nodeLevelMetaModel.TemporalAggregationTask <em>Temporal Aggregation Task</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see nodeLevelMetaModel.TemporalAggregationTask
	 * @generated
	 */
	public Adapter createTemporalAggregationTaskAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //NodeLevelMetaModelAdapterFactory
